package com.sky.mapper.admin;

import com.sky.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    void saveFlavor(List<DishFlavor> flavors);

    void deletesFlavorById(List<Long> dishIds);

    @Select("select * from dish_flavor where dish_id =#{id}")
    List<DishFlavor> findFlavorById(Integer id);


}

